Skip to main content
POST
/
action
/
content_planner_generate_content_plan_action
[CM2] Content Planner
curl --request POST \
  --url https://api-lr.agent.ai/v1/action/content_planner_generate_content_plan_action \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "topics": "<string>",
  "planning_period": "1_month",
  "publishing_capacity": "2_3_per_week",
  "output_variable_name": "content_plan",
  "upcoming_events": "<string>",
  "optimization_focus": "balanced",
  "brand_voice": "professional_authoritative"
}
'
{
  "status": 123,
  "response": {}
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
topics
string
required

Comma-separated list of topics to plan content around.

planning_period
enum<string>
default:1_month
required
Available options:
1_month,
2_months,
3_months
publishing_capacity
enum<string>
default:2_3_per_week
required
Available options:
1_per_week,
2_3_per_week,
4_plus_per_week
output_variable_name
string
default:content_plan
required

Variable name for the result.

Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
upcoming_events
string

Any product launches, conferences, or seasonal events to plan around.

optimization_focus
enum<string>
default:balanced
Available options:
seo_focused,
aeo_focused,
balanced
brand_voice
enum<string>
Available options:
professional_authoritative,
conversational_relatable,
bold_opinionated,
warm_supportive,
witty_playful,
educational_helpful

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action